package org.spring.springcloud.service.impl;import org.spring.springcloud.dao.UserDao;import org.spring.springcloud.domain.User;import org.spring.springcloud.domain.UserEntity;import org.spring.springcloud.service.UserService;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;/** * Created by liyu2 on 2017/10/11. */@Servicepublic class UserServiceImpl implements UserService {    @Autowired    UserDao userDao;    @Override    public UserEntity findUserByUserName(String userName) {        return userDao.findUserByUserName(userName);    }}